<?php

namespace App\Http\Controllers;

use App\Services\IStorageService;
use Illuminate\Http\Request;

/**
 * 上传
 * Class UploadController
 * @package App\Http\Controllers
 */
class UploadController extends BaseController
{

    /**
     * 提取文件内容
     * @param $path
     * @param IStorageService $storageService
     * @return mixed
     */
    public function get($path,IStorageService $storageService){
        return $storageService->getResponse($path);
    }
}
